package com.fxbin123.service;

import com.fxbin123.domain.City;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

/**
 * created with IntelliJ IDEA.
 * author: fxbin
 * date: 2018/7/15
 * time: 19:48
 * description:
 */
public interface CityService {

    Flux<City> findAll();

    Mono<City> insertByCity(City city);

    Mono<City> modify(City city);

    Mono<Void> delete(Long id);

    Mono<City> findById(Long id);



}
